Class Resender

java.lang.Object
com.netscape.cmscore.connector.Resender
All Implemented Interfaces:
Runnable

public class Resender extends Object implements Runnable
Resend requests at intervals to the server to ensure completion of requests. Default interval is 5 minutes. The need to resend a message could arise due to an error or the fact that the message could not be serviced immediately.
  • Field Details

    • logger

      public static org.slf4j.Logger logger
    • MINUTE

      public static final int MINUTE
      See Also:
    • engine

      protected CMSEngine engine
    • requestRepository

      protected RequestRepository requestRepository
    • mDest

      protected RemoteAuthority mDest
    • mRequestIds

      protected Vector<String> mRequestIds
    • mConn

      protected HttpConnection mConn
    • mNickName

      protected String mNickName
    • mClientCiphers

      protected String mClientCiphers
    • connected

      protected boolean connected
    • mInterval

      protected int mInterval
  • Constructor Details

  • Method Details

    • getCMSEngine

      public CMSEngine getCMSEngine()
    • setCMSEngine

      public void setCMSEngine(CMSEngine engine)
    • init

      public void init()
    • addRequest

      public void addRequest(Request r)
      Adds the request to the resend queue.
      Parameters:
      r - Request to be placed on the resend queue.
    • start

      public void start(String name)
    • run

      public void run()
      Specified by:
      run in interface Runnable
    • runImpl

      public void runImpl() throws Exception
      Throws:
      Exception
    • stop

      public void stop()